package sData


type CfgTheme struct {
	_cfg_id			int64
	_tp			ThemeType
	_sort			int64
	_price			int64
	_rewardSkin			int64
}

func (myself *CfgTheme) GetTableName() string {
    return "theme"
}
/**
 * 
 */
func (myself *CfgTheme) GetCfg_id() int64 {
	return myself._cfg_id
}

/**
 * 
 */
func (myself *CfgTheme) GetTp() ThemeType {
	return myself._tp
}

/**
 * 
 */
func (myself *CfgTheme) GetSort() int64 {
	return myself._sort
}

/**
 * 
 */
func (myself *CfgTheme) GetPrice() int64 {
	return myself._price
}

/**
 * 
 */
func (myself *CfgTheme) GetRewardSkin() int64 {
	return myself._rewardSkin
}

func NewCfgTheme(row []interface{}) interface{} {
	newObj := &CfgTheme{}
	if row==nil {return newObj}
	newObj._cfg_id = int64(row[0].(float64))
	newObj._tp = ThemeType(row[1].(float64))
	newObj._sort = int64(row[2].(float64))
	newObj._price = int64(row[3].(float64))
	newObj._rewardSkin = int64(row[4].(float64))
	return newObj
}

const (
	TableThemeName = "theme"
)